// UVTimeData.h: interface for the CUVTimeData class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UVTIMEDATA_H__C10CA91D_94D8_4D76_BAA9_CD6A668D2386__INCLUDED_)
#define AFX_UVTIMEDATA_H__C10CA91D_94D8_4D76_BAA9_CD6A668D2386__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CFileManager.h"

#define HOUR2MSEC	(60*60*1000)
#define MIN2MSEC	(60*1000)
#define SEC2MSEC	(1000)

class CUVTimeData  : public CFileManager
{
public:

	int UVTimeDataSave();

	CUVTimeData(CString strFileName, CString strPath);
	CUVTimeData(CString strFileName);

	virtual ~CUVTimeData();

	void	CheckStart();
	void	CheckStop();
	int		GetHour();
	int		GetMin();
	int		GetSec();
	int		GetMSec();
	int	Init();
	DWORD	GetTotTime();
	int m_Hour;
	int m_Min;
	int m_Sec;
	
private:

	DWORD	m_TotalTime;
	DWORD	m_sTime;
protected:
	BOOL	m_Start;
};

#endif // !defined(AFX_UVTIMEDATA_H__C10CA91D_94D8_4D76_BAA9_CD6A668D2386__INCLUDED_)
